home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Palm Utilities
/
Palm_Utilities_CD-ROM_2001_2001.iso
/
files
/
utils sync
/
JetSync 1.0
/
jetsync-1.0.exe
/
jetsync-1.0
/
setup.dir
/
button.def
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
1999-08-18
|
335 b
|
15 lines
## button directives for dialogs
proc defbutton {name args} {
eval button $name $args
$name configure -bd 2
bind [winfo toplevel $name] <Return> "$name invoke"
}
proc cancelbutton {name args} {
eval button $name $args
# bind escape key with button
bind [winfo toplevel $name] <Key-Escape> "$name invoke"
return $name
}